/* 间距 */
.ml-1 {
  margin-left: var(--space-primary);
}
.mr-1 {
  margin-right: var(--space-primary);
}
.mb-1 {
  margin-bottom: var(--space-primary);
}
.mt-1 {
  margin-top: var(--space-primary);
}

.p1{
  padding: var(--space-primary);
}

/* flex 布局 */
.flex {
  @include flex;
}

.flex-column {
  @include flex-column;
}

.flex-center {
  @include flex-center;
}

.flex-1 {
  flex: 1;
}

/* 位置 */
.fl {
  float: left;
}

.fr {
  float: right;
}

.oh {
  overflow: hidden;
}

.oa {
  overflow: auto;
}

.card-title {
  @include flex;
  align-items: center;
  font-size: 16px;

  &:before {
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: .5rem;
    background: var(--color-primary);
    content: '';
  }
}

.primary-line {
  display: inline-block;
  width: 4px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
  background: var(--color-primary);
}

/* 单行文本溢出显示省略号 */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 2行文本溢出显示省略号 */
.ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 3行文本溢出显示省略号 */
.ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* 下边框 */
.border-bottom::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border-bottom: 2px solid rgba(0, 0, 0, .1);
  transform: scale(.5);
  transform-origin: 0 0;
  pointer-events: none;
}

.font-left{
  text-align: left;
}

.font-center{
  text-align: center;
}

.font-right{
  text-align: right;
}

.font-grey{
  @include font-grey;
}
.font-danger{
  color: var(--color-danger);
}
.font-primary{
  color: var(--color-primary);
}
.college-name{
  color:var(--color-primary);
  font-size: 16px;
}
